﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL
{
    public class ManageBookings
    {
        public List<DAL.Booking> getAllBookings()
        {
            DAL.Booking booking = new DAL.Booking();
            return booking.getAllBookings();
        }
        public List<DAL.Booking> getBookingsByUser(DAL.User user)
        {
            DAL.Booking booking = new DAL.Booking();
            return booking.getBookingsByUser(user);
        }
        public void cancelBooking(DAL.Booking book)
        {
            DAL.Booking booking = new DAL.Booking();
            booking.cancelBooking(book);
        }
    }
}
